package com.project.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import lombok.Data;

import java.util.List;

@Data
@Api("用户表")
@TableName("sys_user")
public class UserBean {
    @TableId("pk_userId")
    private long userId;
    @TableField("username")
    private String username;
    @TableField("password")
    private String password;
    @TableField("realName")
    private String realName;
    @TableField(exist = false)
    private List<RoleBean> roleBeanList;
}
